<%@ page pageEncoding="utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><fmt:message key="vipInfoList.title"/></title> 
<link rel="stylesheet" type="text/css" media="all"	href="<c:url value='/styles/layout.css'/>" />
<script src="<c:url value="/scripts/common.js"/>" language="javascript"></script>
</head>
<body leftmargin="0" topmargin="0">
<html:form action="vipInfo" method="post" styleId="vipInfoForm" enctype="multipart/form-data">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="44" class="home-content-title"><img src="images/home_ico_listTitle.gif" width="22" height="20" align="absmiddle">
    &nbsp;高端旅客档案管理</td>
  </tr>
  <tr>
    <td height="40" class="home-search-space">&nbsp;带*标志的选项为必填项。</td>
  </tr>
  <logic:messagesPresent>
		<tr id="messagesPresentTrId" style="display:;">
			<td valign="top" class="black12" height="20">
				<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
					<tr>
						<td class="arror_bg">
							<span class="arror_title">
						     您的操作存在如下错误：<br></span>
						     <html:errors/>
					    </td>
				    </tr>
			    </table>
			</td>
		</tr>
  </logic:messagesPresent>
  <tr>
    <td valign="top"> 
      <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td class="home-table-topline"> </td>
        </tr>
        <tr> 
          <td class="home-table-leftline"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td class="home-table-tool-content">
			 <html:submit styleClass="home-inputBtn" property="method.save">
            			<fmt:message key="button.save"/>
			</html:submit>
			<html:reset styleClass="home-inputBtn">
            			<fmt:message key="button.reset"/>
			</html:reset>
        		<html:cancel styleClass="home-inputBtn" property="method.cancel">
            			<fmt:message key="button.cancel"/>
			</html:cancel>
		</td>
              </tr>
              <tr>
                <td align="center" valign="top">&nbsp;</td>
              </tr>
              <tr> 
                <td valign="top" class="home-edittable-space"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td><table width="100%" border="0" cellpadding="4" cellspacing="1" class="home-subtable-bgcolor">

			<html:hidden property="id"/>            
			<tr>
			<td class="home-subtable-view-tdstyle-right"> 
			 <font color="red">*</font>姓名：
			</td>
			<td  class="home-subtable-view-tdstyle-left">
			<html:text property="name" styleId="name" styleClass="home-table-inputbox" /> 
			
			</td>
			<td class="home-subtable-view-tdstyle-right"> 
			<font color="red">*</font>性别：
			</td>
			<td  class="home-subtable-view-tdstyle-left">
			<html:select name="vipInfoForm" property="gender" size="1">
			  <html:option value="">&nbsp;</html:option>
			  <html:option value="1">男</html:option>
			  <html:option value="0">女</html:option>
			</html:select> 
			
			</td>
			</tr>

			<tr>
			<td class="home-subtable-view-tdstyle-right"> 
			 民族：
			</td>
			<td  class="home-subtable-view-tdstyle-left">
			<html:text property="nationality" styleId="nationality" styleClass="home-table-inputbox" /> 
			
			</td>
			<td class="home-subtable-view-tdstyle-right"> 
			 <font color="red">*</font>身份证号：
			</td>
			<td  class="home-subtable-view-tdstyle-left">
			<html:text property="idCard" styleId="idCard" 
			styleClass="home-table-inputbox" onkeypress="return intBox();" onkeyup="javascript:isNotChinese(this);" maxlength="18"/> 
			</td>
			</tr>

			<tr>
			<td class="home-subtable-view-tdstyle-right"> 
			 <font color="red">*</font>旅客类型：
			</td>
			<td  class="home-subtable-view-tdstyle-left">
			<html:select name="vipInfoForm" property="vipTypeId" size="1">
			  <html:option value="">&nbsp;</html:option>
			  <html:options collection="vipTypeInfo" property="id" labelProperty="name"/> 
			</html:select>
			</td>
			<td class="home-subtable-view-tdstyle-right"> 
			 职务：
			</td>
			<td  class="home-subtable-view-tdstyle-left">
			<html:text property="duty" styleId="duty" styleClass="home-table-inputbox" /> 
			
			</td>
			</tr>

			<tr>
			<td class="home-subtable-view-tdstyle-right"> 
			 证件类型：
			</td>
			<td  class="home-subtable-view-tdstyle-left">
			<html:text property="cardType" styleId="cardType" styleClass="home-table-inputbox" /> 
			</td>
			<td class="home-subtable-view-tdstyle-right"> 
			 证件号码：
			</td>
			<td  class="home-subtable-view-tdstyle-left">
			<html:text property="cardNum" styleId="cardNum" styleClass="home-table-inputbox" /> 
			
			</td>
			</tr>

			<tr>
			<td class="home-subtable-view-tdstyle-right"> 
			 联系方式：
			</td>
			<td  class="home-subtable-view-tdstyle-left">
			<html:text property="mobile" styleId="mobile" onkeypress="return intBox(11);" 
			styleClass="home-table-inputbox" />
			</td>
			<td class="home-subtable-view-tdstyle-right"> 
			 照片：
			</td>
			<td class="home-subtable-view-tdstyle-left">
			<c:if test="${vipInfoForm.photo!=null&&vipInfoForm.photo!=''}">
			<img src="<c:out value="${vipInfoForm.photo}"/>" width="80" height="70"><br>
			</c:if> 
			<html:file property="file" styleClass="home-inputBtn" />
			
			</td>
			</tr>

			<tr>
			<td class="home-subtable-view-tdstyle-right"> 
			 喜好：
			</td>
			<td colspan="3" class="home-subtable-view-tdstyle-left">
			<html:textarea property="favorite" styleId="favorite" styleClass="home-table-inputbox" cols="60"/> 
			
			</td>
			</tr>

			<tr>
			<td class="home-subtable-view-tdstyle-right"> 
			 服务要求：
			</td>
			<td colspan="3" class="home-subtable-view-tdstyle-left">
			<html:textarea property="serviceDesc" styleId="serviceDesc" styleClass="home-table-inputbox" cols="60"/> 
			
			</td>
			</tr>
            <!-- 
			<tr>
			<td class="home-subtable-view-tdstyle-right"> 
			<sasis:label   key="vipInfoForm.memo"/>
			 &nbsp;
			</td>
			<td  class="home-subtable-view-tdstyle-left">
			<html:text property="memo" styleId="memo" styleClass="home-table-inputbox" /> 
			<html:errors property="memo"/>
			</td> 
			</tr>-->
                        </table></td>
                    </tr>
                  </table> 
                </td>
              </tr>
            </table>
		  </td>
        </tr>
        <tr> 
          <td height="12">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td class="home-table-bottom-left">&nbsp;</td>
                <td class="home-table-bottom-bg">&nbsp;</td>
                <td class="home-table-bottom-right">&nbsp;</td>
              </tr>
            </table></td>
        </tr>
      </table>
	  </td>
  </tr>
  <tr>
    <td height="10">&nbsp;</td>
  </tr>
</table>
</html:form>
</body>
</html>
<%@ include file="/common/script.jsp"%>

